/**
 * 表id 常量
 */
export const TableConstants = {

    // 零件主对象表
    partMaster: 'partMaster',
    // 零件版次表
    partIteration: 'partIteration',
    // 零件使用关系表
    partUsageLink: 'partUsageLink',
    // 零件结构表
    partStructure: 'partStructure',
    //图纸主对象
    drawingMaster: 'drawingMaster',
    //图纸版次
    drawingIteration: 'drawingIteration',
};

/**
 * 字段id 常量
 */
export const FieldConstants = {

    //----------公共----------//
    id: 'id',
    number: 'number',
    name: 'name',
    creator: 'creator',
    createTime: 'createTime',
    modifier: 'modifier',
    modifyTime: 'modifyTime',

    //----------零件主对象 partMaster----------//
    partType: 'partType',
    partClass: 'partClass',
    isEndItem: 'isEndItem',
    drawingMasterId: 'drawingMasterId',
    iterationId: 'iterationId',
    iterationList: 'iterationList',
    modelList: 'modelList',

    //----------零件版次 partIteration----------//
    primaryObject: 'primaryObject',
    displayIdentifier: 'displayIdentifier',
    phase: 'phase',
    iteration: 'iteration',
    state: 'state',
    isLatestIteration: 'isLatestIteration',
    drawingIterationId: 'drawingIterationId',

    //----------零件结构 partStructure----------//
    masterRef: 'masterRef',
    iterationRef: 'iterationRef',
    usagelinkRef: 'usagelinkRef',
    quantity: 'quantity',
    childObject: 'childObject',
    usedByInfo: 'usedByInfo',
    numberPath: 'numberPath',

    //----------图纸主对象 drawingMaster----------//
    partMasterRef: 'partMasterRef',
    drawingIterationList: 'drawingIterationList',

    //----------图纸版次 drawingIteration----------//
    partIterationRef: 'partIterationRef',
    file2D: 'file2D',
    file3D: 'file3D',

};